package com.graduate.game.user.mapper;

import com.graduate.game.user.pojo.conversation;
import com.graduate.game.user.pojo.relation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import sun.plugin2.message.Conversation;

import java.util.List;

@Mapper
@Repository
public interface relationMapper {
    //关注他人
    public int addRelation(relation relation);

    //查看我关注的人
    public List<relation> checkmyRelations(String me);

    //信息发送
    public  int addconversations(conversation conversation);

    //查看消息记录
   public List<conversation> checkconcersation(conversation conversation);

}
